import configparser
from common1.all_path import *

# f=configparser.ConfigParser()
# f.read(path_config)
# ssss=f.get("auto_test", "auto_test")
# print(ssss)

class Read_config():
    def readconfig(self,filename,section,option):
        cf=configparser.ConfigParser()
        cf.read(filename)
        return eval(cf.get(section,option))

if __name__ == '__main__':
    f=Read_config()
    res=f.readconfig(path_config,section='auto_test',option='auto_test')
    print(res)
    print(type(res))
